﻿// -----------------------------------------------------------------------
// <copyright file="IFilter.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Core.Interfaces.Common
{
	#region Usings

	using System;
	using System.Linq.Expressions;

	#endregion

	/// <summary>
	/// Provides the common interface of the filter.
	/// </summary>
	/// <typeparam name="T">The entity type</typeparam>
	public interface IFilter<T>
	{
		/// <summary>
		/// Gets the filter condition.
		/// </summary>
		Expression<Func<T, bool>> FilterCondition { get; }
	}
}